package com.easy.project.domain.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.project.base.domain.po.BasePO;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统用户角色关联表
 * </p>
 *
 * @author wxz
 * @since 2024-01-10
 */
@Getter
@Setter
@TableName("sys_user_role")
@ApiModel(value = "SysUserRolePO对象", description = "系统用户角色关联表")
public class SysUserRolePO extends BasePO {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("角色id")
    @TableField("role_id")
    private Long roleId;

}
